﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [MetadataType(typeof(Sys_Actions_Metadata))]
    [DisplayName("操作类型")]
    public partial class Sys_Actions
    {
        public Sys_Actions()
        {
            this.Id = Guid.NewGuid();
        }

        public class Sys_Actions_Metadata
        {
            [ScaffoldColumn(false)]
            public System.Guid Id { get; set; }

            [DisplayName("显示名称")]
            [Required]
            public string DisplayName { get; set; }

            [DisplayName("动作名称")]
            [Required]
            public string ActionName { get; set; }

            [DisplayName("排列顺序")]
            public int IntOrder { get; set; }
        }
    }
}
